﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="AnyOffice.general.system.diary.index" %>
<%@ Reference Page="~/general/index.aspx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>工作日志设置</title>
		
		<script src="/aspnet_client/core/function.js"></script>
		<script>
function CheckForm()
{
	if(!checkIsInteger(document.Form1.txtLockTime.value))
   {
	 alert("锁定天数必须为整数！");
	 document.Form1.txtLockTime.focus();
	 return (false);
   } 
   return true;
}
		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<asp:Panel id="pnlMain" runat="server">
				<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
					<tr>
						<td class="Big"><img src="/images/menu/diary.gif" align="absMiddle" height="18" width="18"><span class="big3"> 工作日志设置</span>
						</td>
					</tr>
				</table>
				<br>
				<br>
				<table border="0" cellspacing="1" width="380" class="small" bgcolor="#000000" cellpadding="3"
					align="center">
					<TBODY>
						<tr>
							<td class="Tableheader" colspan="2" align="center">设置锁定时间范围</td>
						</tr>
						<tr>
							<td class="TableData">
								锁定 <input type="text" name="txtLockTime" size="4" maxlength="3" class="BigInput" style="TEXT-ALIGN:center"
									id="txtLockTime" runat="server"> 天前的日志 (0表示不锁定天数范围)
							</td>
						</tr>
						<tr>
							<td nowrap class="TableControl" colspan="2" align="center">
								<input type="submit" value="确定" class="BigButton" title="保存锁定" name="button" onclick="return CheckForm();">
							</td>
						</tr>
					</TBODY>
				</table>
		
		</asp:Panel>
		<asp:Literal id="litMessage" runat="server"></asp:Literal>
	</form>
	</body>
</HTML>
